package com.zhichubao.enterprise.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangzhiwei
 * @since 2021-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("p2p_tenant")
@ApiModel(value="Tenant对象", description="")
public class Tenant implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "tenant_id", type = IdType.AUTO)
    private Long tenantId;

    @ApiModelProperty(value = "预留-租户状态")
    private Integer status;

    @ApiModelProperty(value = "初始化标识")
    private Integer initFlag;

    private LocalDateTime initDate;

    @ApiModelProperty(value = "预留-试用期开始")
    private LocalDateTime probationStart;

    @ApiModelProperty(value = "预留-试用期结束")
    private LocalDateTime probationEnd;

    @ApiModelProperty(value = "预留-正式开始")
    private LocalDateTime formalStart;

    @ApiModelProperty(value = "预留-正式结束")
    private LocalDateTime formalEnd;

    private LocalDateTime disabledDate;

    @ApiModelProperty(value = "预留-备注")
    private String remark;

    private Long p2pEnterpriseInfoId;

    @ApiModelProperty(value = "预留-租户code")
    private String tenantCode;


}
